package com.woniuxy.kaer.service.feign.impl;


import com.woniuxy.kaer.commons.util.Result;
import com.woniuxy.kaer.service.dto.OrderInfoDto;
import com.woniuxy.kaer.service.dto.ServiceBaseDto;
import com.woniuxy.kaer.service.feign.ServiceFeignClient;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class ServiceFeignClientImpl implements ServiceFeignClient {


    @Override
    public Result<List<Integer>> getServiceBaseByServiceName(String serviceName) throws Exception {
        return Result.succeed("服务繁忙",null);
    }

    @Override
    public Result<OrderInfoDto> getServiceOrderById(String serviceOrderId) throws Exception {
        return Result.succeed("服务繁忙",null);
    }

    @Override
    public Result<List<ServiceBaseDto>> getServiceBaseByShopIdAndServiceName(Integer shopId) throws Exception {
        return Result.succeed("服务繁忙",null);
    }
}
